import { createRouter, createWebHashHistory } from 'vue-router'


const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path:"/",
      name:"FormDesigner",
      component:()=>import('@/views/LowFormDesigner/index.vue')
    },
    {
      path:"/demo",
      name:"demo",
      component:()=>import('@/views/Demo/index.vue')
    },
    {
      path:'/preview/:type',
      name:'preview',
      component:()=>import('@/components/form-render/index.vue')
    }
  ],
})

export default router
